extern crate core;

mod response;

pub use response::ApiResult;
pub use response::error::*;
pub use response::r::*;

pub mod extractor;
pub mod middleware;
pub mod page;
pub mod serde;

mod fallback;
pub use fallback::method_not_allowed;
pub use fallback::not_found;
#[cfg(feature = "amqp")]
pub mod amqp;
pub mod configuration;
#[cfg(feature = "database")]
pub mod db;
#[cfg(feature = "email")]
pub mod email;
#[cfg(feature = "header")]
pub mod header;
#[cfg(feature = "minio")]
pub mod minio;
#[cfg(feature = "redis")]
pub mod rediss;
#[cfg(feature = "scheduler")]
pub mod scheduler;
pub mod server;
pub mod util;

#[cfg(feature = "scheduler")]
pub use scheduler::scheduled;
